package com.itheima.socket.udp.demo03;

public class ChatRoom {

    public static void main(String[] args) {

        SendDataThread sendDataThread = new SendDataThread();
        ReceiveDataThread receiveDataThread = new ReceiveDataThread();

        Thread t1 = new Thread(sendDataThread);
        Thread t2 = new Thread(receiveDataThread);

        t1.start();
        t2.start();

    }

}
